package com.yidianyanglao.user.bean;

import java.util.Date;

/**
 * describe :   ------      ------
 * author  :        yhbk
 * time on  :   ${DAte}  21:25.
 * ----------------------------------------------------
 */
public class LuckyTreeBean {
    private int id;
    private String name;    //系列名字
    private int seriesId;   //系列外键关系
    private int userId;     //用户的外键关系
    private int usertype;    //用户类型:0花匠1商户2业务员
    private int luckytree;  //幸运树数量
    private double treeBalance; //余额，符合额度则增加一棵树
    private double seedBalance; //满足返利额度，则消耗一棵树
    private double exchangeValue;  //当前用户余额数量
    private double consumptionValue;   //当前用户待扣除树的种子数量
    private Date createtime;

    public LuckyTreeBean(String name,int seriesId,int userId,double treeBalance,double seedBalance){
        this.name = name;
        this.seriesId = seriesId;
        this.userId = userId;
        this.treeBalance = treeBalance;
        this.seedBalance = seedBalance;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(int seriesId) {
        this.seriesId = seriesId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }

    public int getLuckytree() {
        return luckytree;
    }

    public void setLuckytree(int luckytree) {
        this.luckytree = luckytree;
    }

    public double getTreeBalance() {
        return treeBalance;
    }

    public void setTreeBalance(double treeBalance) {
        this.treeBalance = treeBalance;
    }

    public double getSeedBalance() {
        return seedBalance;
    }

    public void setSeedBalance(double seedBalance) {
        this.seedBalance = seedBalance;
    }

    public double getExchangeValue() {
        return exchangeValue;
    }

    public void setExchangeValue(double exchangeValue) {
        this.exchangeValue = exchangeValue;
    }

    public double getConsumptionValue() {
        return consumptionValue;
    }

    public void setConsumptionValue(double consumptionValue) {
        this.consumptionValue = consumptionValue;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
